Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 2b3fa796a1574785df784cc57e6ae9af4f2f6077


Parents : f6cc9fd
Author : Mark Qvist <mark@unsigned.io>
Date : 2024-03-26T14:55:59+01:00

Updated packet proof logic

Changes

1 files changed, 1 insertions(+), 1 deletions(-)


Diff

diff --git a/LXMF/LXMRouter.py b/LXMF/LXMRouter.py
index db19916..30788c9 100644
--- a/LXMF/LXMRouter.py
+++ b/LXMF/LXMRouter.py
@@ -980,6 +980,7 @@ class LXMRouter:
return False
def delivery_packet(self, data, packet):
+ packet.prove()
try:
if packet.destination_type != RNS.Destination.LINK:
lxmf_data = b""
@@ -998,7 +999,6 @@ class LXMRouter:
phy_stats = {"rssi": packet.rssi, "snr": packet.snr, "q": packet.q}
- packet.prove()
self.lxmf_delivery(lxmf_data, packet.destination_type, phy_stats=phy_stats)
except Exception as e:


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────